from django.urls import path, include
from rest_framework import routers
from passages.views.views import PassageViewSet

passage_api_router = routers.DefaultRouter()
passage_api_router.register(r'passages', PassageViewSet, basename='passages')

urlpatterns = [path('',
                    include((passage_api_router.urls, 'passages'),
                            namespace='passages')),
               ]
